t8 = ("传智教育", "黑马程序员", "黑马程序员", "黑马程序员", "Python")
# while循环遍历
index = 0
while index < len(t8):
    print(f"元组的元素有：{t8[index]}")
    index += 1

# for循环遍历
for element in t8:
    print(f"2元组的元素有：{element}")
